|
|
|
| Table 5.3. CompanyMaster Company Logo controls. | | Object | Property | Setting | | Image | BorderStyle | 1Fixed Single | | DataField | CompanyLogo | | DataSource | Data1 | | Height | 1200 | | Left | 7380 | | Stretch | 1 True | | Top | 360 | | Width | 1200 | | Label | Caption | Company Logo: | | BackStyle | 0Transparent | | Height | 330 | | Left | 7380 | | Top | 120 | | Width | 1200 |
|
|
|
|
|
|
Adding and Coding Command Buttons |
|
|
|
|
|
|
|
|
Next, add the command buttons. Although you already have the Visual Basic 4 data control on the form, you need additional buttons to allow the user to perform adds, deletes, updates, finds, and so on. You also add a button to pop up a small form for adding comments to the data record. Refer to Table 5.4 and Figure 5.22 for sizing and placement information. |
|
|
|
|
| Table 5.4. CompanyMaster command buttons. | | Object | Property | Setting | | CommandButton | Name | cmdAdd | | Caption | &Add | | Height | 330 | | Left | 7380 | | Top | 1620 | | Width | 1200 |
|
|
|
|
|
|
(table continued on next page) |
|
|
|
|
|